Establish a control relation between demo search and list
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 12 Nov 2020 16:12:03 +0000 (16:12 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 12 Nov 2020 21:46:06 +0000 (21:46 +0000)
The search entry changes the content of the list view, so we should
mention that relation to assistive technologies.

demos/gtk-demo/main.ui

index 91dfd91cfeeb3fdb61ca9ca94fa970f26cb8ddad..58f8d823d7237eb36a820d0e39e1adfb5c214f57 100644 (file)
                   <object class="GtkSearchBar" id="searchbar">
                     <property name="key-capture-widget">window</property>
                     <child>
-                      <object class="GtkSearchEntry" id="search-entry"/>
+                      <object class="GtkSearchEntry" id="search-entry">
+                        <accessibility>
+                          <relation name="controls">listview</relation>
+                        </accessibility>
+                      </object>
                     </child>
                   </object>
                 </child>